namespace Peninsula.DataAccess.EF.SqlServer.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class _009 : DbMigration
    {
        public override void Up()
        {
            RenameColumn(table: "dbo.RepairOrder", name: "MaintenanceStaffId", newName: "AdminId");
            RenameIndex(table: "dbo.RepairOrder", name: "IX_MaintenanceStaffId", newName: "IX_AdminId");
        }
        
        public override void Down()
        {
            RenameIndex(table: "dbo.RepairOrder", name: "IX_AdminId", newName: "IX_MaintenanceStaffId");
            RenameColumn(table: "dbo.RepairOrder", name: "AdminId", newName: "MaintenanceStaffId");
        }
    }
}
